home *** CD-ROM | disk | FTP | other *** search
/ PC Direct 1996 February / PC Direct CD-ROM (February 1996).iso / software / claris / impact / disk12 / impact.rs_ / impact.rs / TEXT_135.txt < prev    next >
Encoding:
Text File  |  1995-08-28  |  596 b   |  12 lines

  1. ATAN2 (Arc Tangent 2)
  2. Calculates the angle (in radians) between the positive X-axis and a line that starts at the origin (0,0) and passes through the x and y coordinates you specify (x-number, y-number). The result is the angle in radians, in the range from -PI to PI.
  3.  
  4. Format: ATAN2 (x-number, y-number)
  5.  
  6. Arguments:
  7. ΓÇó  x-number: An x-coordinate value.
  8. ΓÇó  y-number: A y-coordinate value.
  9.  
  10. Example:
  11. ATAN2 (1,1) returns .785 (p/4 radians).
  12. Shows that the angle between the positive X-axis (1) and the line that passes through the x and y coordinates is .785 radians (PI/4), which is 45 degrees.